package com.fqgj.sentry.manage;

import com.fqgj.sentry.manage.dao.McMenuDao;
import com.fqgj.sentry.manage.entity.McMenuEntity;
import com.fqgj.sentry.manage.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by liupengpeng on 2017/7/16.
 */
@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private McMenuDao mcMenuDao;

    @Override
    public List<McMenuEntity> findByPid(Long pid) {
        return mcMenuDao.findByPid(pid);
    }
}
